package com.baishancloud.log.live.sanma

import java.io.Serializable

/**
 *
 * @author ziqiang.wang 
 * @date 2021/11/25 20:00
 */
class CalculateSanma extends Serializable

//字段
case class SanmaLogKey(time_at_1min: String, domain: String, country: String, province: String, isp: String, log_type: Int) extends Serializable

//转化对象，包含所有维度和直播在线数
case class SanmaLog(time_at_1min: String, domain: String, country: String, province: String, isp: String, log_type: Int, uv: Long) extends Serializable {
  def getKey: SanmaLogKey = {
    SanmaLogKey(time_at_1min, domain, country, province, isp, log_type)
  }
}
